home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000040_icon-group-sender _Tue May 26 12:40:58 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA27055
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 26 May 1998 12:40:53 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA26931; Tue, 26 May 1998 12:40:47 -0700
  7. Date: Sat, 23 May 1998 10:24:33 -0500
  8. Message-Id: <199805231524.KAA05320@segfault.cs.utsa.edu>
  9. From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
  10. To: vladimir.grodzenski@capway.com
  11. Cc: icon-group@optima.CS.Arizona.EDU
  12. In-Reply-To: <199805231036.MAA17216@capway.com> (grodzens@capway.com)
  13. Subject: Re: Annoying things
  14. Reply-To: jeffery@cs.utsa.edu
  15. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  16. Status: RO
  17. Content-Length: 1203
  18.  
  19.  
  20. [open(dirname) gives a file that returns a directory's filenames, one per line]
  21. >   Thanks for the suggestion, it works! You should however mention
  22. >   it in the Icon reference otherwise we can only guess... Are there 
  23. >   some other "undocumented" features like with Microsoft? :-)
  24.  
  25. Oops.  Well, at least I release the source code.  :-)
  26.  
  27. Actually, the reason that directory reading is not yet documented is that
  28. it is likely to change.  For these kind of operating system interactions
  29. whatever I implement and document needs to be consistent with Shamim
  30. Mohamed's POSIX interface for Icon, Unicon.  His interface supports
  31. open(dirname) but specifies more complete file information returned for each
  32. directory entry, such as permissions, ownership, and timestamps.  Prior to
  33. this I had made open(dirname) simpler, and some graduate students of mine
  34. had implemented a separate function for such file attributes, fattrib().
  35. He and I need to talk about it a bit more, but I am likely to adopt his
  36. semantics for the lines returned by open(dirname).
  37.  
  38. Clint Jeffery, jeffery@cs.utsa.edu
  39. Division of Computer Science, The University of Texas at San Antonio
  40. Research http://www.cs.utsa.edu/research/plss.html
  41.